package Work.test2;

public class Test {
    public static void main(String[] args) {
        pingpang ma = new pingpang("马龙",18);
        ma.show();
        ma.eat();
        ma.study();
        ma.sleep();
        System.out.println("\n");

        pingpangcoach liu = new pingpangcoach("刘国梁",50);
        liu.show();
        liu.eat();
        liu.teach();
        liu.sleep();
        System.out.println("\n");

        basket yi = new basket("易建联",30);
        yi.show();
        yi.eat();
        yi.study();
        yi.sleep();
        System.out.println("\n");

        basketcoach yao = new basketcoach("姚明",40);
        yao.show();
        yao.eat();
        yao.teach();
        yao.sleep();
    }
}
